package lab02.test07;


public class Student extends Person {
    //1.还有学号，所在学校等信息
    String sno;
    String university;

    //2.将属性信息作为字符串返回

    //ctrl+o
    //student->person->object

    @Override
    String getString() {

        return name+"  "+age+"  "+idcard;
    }

    //3.构造函数

}
